  <% if @posts -%>
    <%=render :partial => 'shared/posts', :object => @posts%>
  <% end -%>